wayland: Make monitor removal work
authorMatthias Clasen <mclasen@redhat.com>
Wed, 27 Mar 2013 02:16:15 +0000 (22:16 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 27 Mar 2013 02:16:15 +0000 (22:16 -0400)
commit28c865b4e257755b2acf709986358052743e9705
tree79bfdcf7408f24b047166e0c9845982b7d7e640c
parentca09a600c39ffc867460b079b8f0852d4c3fb5b7
wayland: Make monitor removal work

The global_removal argument is the _name_ of the object.
We were comparing it to the _object id_ of the object.
To fix this, store the name at the time the object is bound.
gdk/wayland/gdkdisplay-wayland.c
gdk/wayland/gdkprivate-wayland.h
gdk/wayland/gdkscreen-wayland.c